package com.itlong.cloud.POJO.VO.app.old;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * <desc>
 *      旧版APP字典，主要用户预防苹果闪退
 * </desc>
 *
 * @author cuiduanwu
 * @create 2017--25 19:57
 */
@Getter
@Setter
public class AppSysCodeVO {

    private String id;

    private String parentId;
    /*类型  菜单（jbjpp_menu_type物业菜单 back_menu_type运营菜单）
        角色（property_user_type物业角色  back_user_type运营角色）
    */
    private String type;

    private String value;

    private String name;

    private String alias;

    private String order;

    private String icon;
    //角色user_type中设置为是否是vip   是  vip   否 noVip
    private String extra1;
    //角色表中设置为是否是系统保留角色  0 是 （只能修改名称）  1 否
    private String extra2;

    private String state;  //是否启用，0-否，1-是

    List<AppSysCodeVO> childCodes = new ArrayList<AppSysCodeVO>();


    public AppSysCodeVO(String id,String parentId,String type,String value,String name,String alias,String order,String icon,String state){
        this.id = id;
        this.parentId = parentId;
        this.type = type;
        this.value = value;
        this.name = name;
        this.alias =alias;
        this.order = order;
        this.state = state;
    }


}
